package com.gitee.xmhzzz.component.mqtt.client.api;


import com.gitee.xmhzzz.component.mqtt.client.config.MqttConfig;
import com.gitee.xmhzzz.component.mqtt.client.model.MqttReq;
import com.gitee.xmhzzz.component.mqtt.client.model.MqttResp;


/**
  * @ClassName
  * @Description
  * @Author wzq
  * @Date 2024/1/23 13:54
  * @Version 1.0
  */
public interface IMqttApi {

    MqttConfig config();



    MqttResp httpPublish(MqttReq request);



    MqttResp tcpPublish(MqttReq request);
}
